﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PUCIT.eFCS.Business
{
	public class Section
	{
		private string sectionTitle;
		private List<Field> sectionFields;
		private int sectionId;
		private int userId;
		private int seqNo;
        public  List<Attachments> attList;
        
        public Section()
        {
            attList = new List<Attachments>();
        }

		public string SectionTitle
		{
			get
			{
				return sectionTitle;
			}
			set
			{
				sectionTitle = value;
			}
		}

		public List<Field> SectionFields
		{
			get
			{
				return sectionFields;
			}
			set
			{
				sectionFields = value;
			}
		}

		public int SectionId
		{
			get
			{
				return sectionId;
			}
			set
			{
				sectionId = value;
			}
		}

		public int UserId
		{
			get
			{
				return userId;
			}
			set
			{
				userId = value;
			}
		}

		public int SeqNo
		{
			get
			{
				return seqNo;
			}
			set
			{
				seqNo = value;
			}
		}


		public Section(string sectionTitle, List<Field> sectionFields, int sectionId, int userId, int seqNo)
		{
			this.sectionTitle = sectionTitle;
			this.sectionFields = sectionFields;
			this.sectionId = sectionId;
			this.userId = userId;
			this.seqNo = seqNo;
		}
	}
}
